//
//  BookDetailPhotosModel.m
//  FreeTrip
//
//  Created by lanou on 15/11/27.
//  Copyright © 2015年 邓芮. All rights reserved.
//

#import "PhotosModel.h"

@implementation PhotosModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"])
    {
        [self setValue:value forKey:@"myDescription"];
    }
    else if ([key isEqualToString:@"width"])
    {
        [self setValue:value forKey:@"image_width"];
    }
    else if ([key isEqualToString:@"height"])
    {
        [self setValue:value forKey:@"image_height"];
    }
    else if ([key isEqualToString:@"photo_url"])
    {
        [self setValue:value forKey:@"image_url"];
    }
}

- (void)setNilValueForKey:(NSString *)key
{
    
}
@end
